-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter_ecs: Retrieve container ID from record field #9033
base: master
Are you sure you want to change the base?
Conversation
85c937c
to
b4ba446
Compare
Signed-off-by: Ra'Jiska <[email protected]>
b4ba446
to
f14ac5f
Compare
Signed-off-by: Ra'Jiska <[email protected]>
the PR is not passing the unit test: https://github.com/fluent/fluent-bit/actions/runs/9771469517/job/27099695827?pr=9033 |
Signed-off-by: Ra'Jiska <[email protected]>
da51c32
to
59cd20b
Compare
@edsiper Added format checks as well as well as an extra test for invalid data. |
@edsiper One of the test fails, though it doesn't seem related to the changes I made, is this a random failure or was some kind of side-effect introduced? I had all passing when running locally. |
Bump @edsiper @PettitWesley |
Bump @edsiper @PettitWesley 👀 |
Bump @edsiper @PettitWesley |
Adds
container_id_field_name
to retrieve the container ID instead of deducing it from the tags viaecs_tag_prefix
which is too restrictive to use as too invasive over the logic the user wants to use.Maintained the retrieval of the container ID to not introduce breaking change, but using
container_id_field_name
will override and retrieve container ID from the specified field.Fixes the following issue: #9028
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
fluentbit-valgrind-containerid.txt
fluentbit-valgrind-ecsprefix.txt
The above includes config file as well as debug outputs.
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
pipelines: filters: ecs: Retrieve container ID from record field fluent-bit-docs#1402
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.